//mongoose node 的驱动程序
const mongoose = require("mongoose");

const schema = new mongoose.Schema({
    title: String,// 总类型名称
    labels:Array//对应子类型集合
});

mongoose.model("types", schema, "types");